package org.com.suit.domain;

import org.springframework.stereotype.Component;


@Component
public class Writing {
	
	private int seq;
	private int no;
	private String name;
	private String content;
	private String regdate;
	
	
	public int getSeq() {
		return seq;
	}
	public void setSeq(int seq) {
		this.seq = seq;
	}
	public int getNo() {
		return no;
	}
	public void setNo(int no) {
		this.no = no;
	}	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getRegdate() {
		return regdate;
	}
	public void setRegdate(String regdate) {
		this.regdate = regdate;
	}
	@Override
	public String toString() {
		return "Writing [seq=" + seq + ", no=" + no + ", name=" + name
				+ ", content=" + content + ", regdate=" + regdate + "]";
	}
	
	
	
}
